package xyz.shuixiangyu.movie;

public class Movie {
	private String name;
	private String director;
	private int year;
	private double ratings;
	private String comments;
	private String photo;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public double getRatings() {
		return ratings;
	}
	public void setRatings(double ratings) {
		this.ratings = ratings;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String toString() {
		return "Movie [name=" + name + ", director=" + director + ", year="
				+ year + ", ratings=" + ratings + ", comments=" + comments
				+ ", photo=" + photo + "]";
	}
}
